# -*- coding: utf-8 -*-
"""
Created on Fri Oct 23 11:35:21 2020

@author: Administrator
"""

class Logicgate(object):
    
    def __init__(self,label):
        self.label=label
        self.output=None
        
    def getLabel(self):
        return self.label
    
    def getOutput(self):
        return self.performGateLogic()
    
    
    #定义一个接口
    def performGateLogic(self):
        pass